package com.tegtech.common.domain;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Treeselect树结构实体类
 * 
 * @author Jun
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class TreeSelect implements Serializable {
	
	private static final long serialVersionUID = 1L;

	/** 节点ID */
	protected Long id;

	/** 节点名称 */
	protected String label;

	/** 子节点 */
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	protected List<TreeSelect> children;

}
